<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="http://www.tmooc.cn">
用户名<input type="text" name="username" placeholder="用户名" value="abc" ><br>
    密码<input type="password" name="password" placeholder="密码" maxlength="5"><br>
    性别<input type="radio" name="gender" checked value="m" id="r1">    <label for="r1">男</label>
    <input type="radio" name="gender" value="w" id="r2"><label for="r2">女</label>
    兴趣爱好<input type="checkbox" name="hobby" value="cy" >抽烟
    <input type="checkbox" name="hobby" value="hj" >烫头
    <input type="checkbox" name="hobby" value="tt" >喝酒
    <br>生日 <input type="date" name="b"><br>
    照片:<input type="file" name="file" ><br>
    <select name="city">
        <option value="bj">北京</option>
        <option selected value="sh">上海</option>
        <option value="gz">广州</option>
    </select><br>
    <input type="reset" value="重置">
    <input type="button" value="按钮">
    <input type="submit" value="注册"><br>
    <hr>
    <button type="reset" >重置</button>
    <button type="button">按钮</button>
    <button type="submit">注册</button>


</form>
</body>
</html>